package com.erqi.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

@Configuration
public class WebSocketConfig {

    @Bean(name = "web")
    @Primary
    public ServerEndpointExporter serverEndpointExporter6() {
        return new ServerEndpointExporter();
    }

}
